package com.caiyouxi.sdk.mapper;

import com.caiyouxi.sdk.model.ChannelAdvanceRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface ChannelAdvanceRecordMapper {

    //查询
    public ChannelAdvanceRecord select_channel_advance_record(ChannelAdvanceRecord bean);

    //查询
    public ChannelAdvanceRecord select_channel_advance_record_by_relate_object_id(String relate_object_id);
    
    public List<ChannelAdvanceRecord> get_list(ChannelAdvanceRecord bean);

    //增加
    public int add_channel_advance_record(ChannelAdvanceRecord bean);

    //修改
    public int update_channel_advance_record(ChannelAdvanceRecord bean);

    //删除
    public int delete_channel_advance_record(ChannelAdvanceRecord bean);

    //获得总条数
    public int get_count(ChannelAdvanceRecord bean);

    //更新财务流水状态
    int update_channel_advance_record_status(HashMap<String, Object> map);

}
